<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/file" prefix="f"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<form id="lifeGoodsForm">
	<s:hidden name="model.id"></s:hidden>
	<s:hidden name="model.crateDate"></s:hidden>
	<s:hidden name="model.updateDate"></s:hidden>
	<s:hidden name="model.status" id="model_status"></s:hidden>
	<table width="100%" border="0" id="lifeTable" cellpadding="0"
		cellspacing="0" class='edit_table'>
		<tbody>
			<tr>
				<th>
					物品名称:
				</th>
				<td>
					<input type="text" name='model.name' value="${model.name}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					物品品牌:
				</th>
				<td>
					<input type="text" name='model.pinpai' value="${model.pinpai}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					物品规格:
				</th>
				<td>
					<input type="text" name='model.guige' value="${model.guige}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			
			<tr>
				<th>
					得威卡购价:
				</th>
				<td>
					<input type="text" name='model.cardprice' value="${model.cardprice}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					市场购买价:
				</th>
				<td>
					<input type="text" name='model.marketPrice' value="${model.marketPrice}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					列表图片:
				</th>
				<td>
					<f:oneJcrop name="model.imgUrl" folder="life" fileName="${model.imgUrl}" width="420" height="248" minwidth="210" minheight="124"  />
					<span  style="color:red;"> 电池图片建议尺寸(像素)宽*高:420*248.大小不超过100KB</span>
				</td>
			</tr>
			<tr>
				<th>
				物品描述:
				</th>
				<td>
					<s:textarea name="model.detailInfo"   rows="3"  cssStyle="width:99%"></s:textarea>
				</td>
			</tr>
			
			<tr>
				<th>
					详情图片:
				</th>
				<td>
				<f:multiJcrop name="imgs" folder="lifeListImg" width="320" minwidth="160" fileName="${model.imageUrl}" minheight="200" height="400"/>
				</td>
			</tr>
		</tbody>
	</table>
	 <iframe name="downloadFileIframe" style="display:none" ></iframe>
</form>
